package cn.fourhundredandeighteen.view.TeacherView;

import cn.fourhundredandeighteen.view.Component.Container;
import cn.fourhundredandeighteen.view.Component.LabelButton;
import cn.fourhundredandeighteen.view.Component.Setting;
import cn.fourhundredandeighteen.view.TeacherView.SetStudentCourseScore.setCourseScore;
import cn.fourhundredandeighteen.view.TeacherView.teacherCourseInfo.teacherCourseInfo;
import cn.fourhundredandeighteen.view.TeacherView.teacherInfo.teacherUserInfo;

import java.util.ArrayList;

public class TeacherView {
    private ArrayList<LabelButton> labelButtonList = new ArrayList<LabelButton>();

    public TeacherView(String title) {

        labelButtonList.add(new LabelButton("个人信息", teacherUserInfo.class));
        labelButtonList.add(new LabelButton("课程管理", teacherCourseInfo.class));
        labelButtonList.add(new LabelButton("成绩管理", setCourseScore.class));
        labelButtonList.add(new LabelButton("系统设置", Setting.class));

        Container container = Container.getInstance(labelButtonList);
        container.setTitle(title);

    }
}
